/**  
* @Title: Inventory.java  
* @Package com.ssm.demo.model  
* @Description: TODO(用一句话描述该文件做什么)  
* @author jing Lei 
* @date 2019年1月1日  
* @version V1.0  
*/  

package com.ssm.demo.model;

/**  
* @ClassName: Inventory  
* @Description: 库存表 
* @author jing Lei  
* @date 2019年1月1日  
*    
*/

public class Inventory extends BaseModel {

	/**  
	* @Fields field:field:{todo}(用一句话描述这个变量表示什么)  
	*/  
	
	private static final long serialVersionUID = -3361206794509531718L;
    /**
     * 书籍id
     */
	private int bookId;
	/**
	 * 库存数量
	 */
	private int inventoryNumber;
	/**
	 * 现有数量
	 */
	private int importNumber;
	
	public Inventory(){
		
	}

	/**  
	* 创建一个新的实例 Inventory.  
	*  
	* @param bookId
	* @param inventoryNumber
	* @param importNumber  
	*/  
	
	public Inventory(int bookId, int inventoryNumber, int importNumber) {
		super();
		this.bookId = bookId;
		this.inventoryNumber = inventoryNumber;
		this.importNumber = importNumber;
	}

	public int getBookId() {
		return bookId;
	}

	public void setBookId(int bookId) {
		this.bookId = bookId;
	}

	public int getInventoryNumber() {
		return inventoryNumber;
	}

	public void setInventoryNumber(int inventoryNumber) {
		this.inventoryNumber = inventoryNumber;
	}

	public int getImportNumber() {
		return importNumber;
	}

	public void setImportNumber(int importNumber) {
		this.importNumber = importNumber;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
}
